//
//  BizMenu.m
//  YYZB
//
//  Created by 顾悦 on 16/8/8.
//
//

#import "BizMenu.h"

@implementation BizMenu

- (instancetype)initWithDictionary:(NSDictionary *)d {
    BizMenu *item = [self class].new;
    item.IsInternalModule = d[@"IsInternalModule"];
    item.ServiceType = d[@"ServiceType"];
    item.ServiceCat1Id = d[@"ServiceCat1Id"];
    item.ServiceCat2Id = d[@"ServiceCat2Id"];
    item.ServiceProductId = d[@"ServiceProductId"];
    item.PriceId = d[@"PriceId"];
    item.Id = d[@"Id"];
    item.InternalLink = d[@"InternalLink"];
    item.ExternalLink = d[@"ExternalLink"];
    item.ExternalIsNeedTitle = d[@"ExternalIsNeedTitle"];
    item.ModuleName = d[@"ModuleName"];
    item.ModuleOrder = d[@"ModuleOrder"];
    item.Subheading = d[@"Subheading"];
    item.ConfigType = d[@"ConfigType"];
    item.Background = d[@"Background"];
    item.LogoImgPath = d[@"LogoImgPath"];
    item.FullImgPath = d[@"FullImgPath"];
    item.IsOpen = d[@"IsOpen"];
    item.Level = d[@"Level"];
    item.ParentId = d[@"ParentId"];
    item.subclassArray1 = [NSMutableArray array];
    item.subclassArray = [[NSMutableArray alloc] init];
    
    return item;
}

@end
